package com.springboot.model;

import java.util.Date;

public class MedicineListForm {
    private Integer listId;

    private Integer patientId;

    private String listName;

    private String listContent;

    private Date time;

    public MedicineListForm(){}

    public MedicineListForm(Integer listId, Integer patientId, String listName, String listContent, Date time) {
        this.listId = listId;
        this.patientId = patientId;
        this.listName = listName;
        this.listContent = listContent;
        this.time = time;
    }

    public Integer getListId() {
        return listId;
    }

    public void setListId(Integer listId) {
        this.listId = listId;
    }

    public Integer getPatientId() {
        return patientId;
    }

    public void setPatientId(Integer patientId) {
        this.patientId = patientId;
    }

    public String getListName() {
        return listName;
    }

    public void setListName(String listName) {
        this.listName = listName;
    }

    public String getListContent() {
        return listContent;
    }

    public void setListContent(String listContent) {
        this.listContent = listContent;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    //需要前端参数名，改
    public String toString1() {
        return "{" +
                "\"userName\":\"" + patientId + '\"' +
                ",\"indexs\":\"" + listName + '\"' +
                ",\"phonenum\":\"" + listContent + '\"' +
                ",\"logoLink\":\"" + time + '\"' +
                '}';
    }
}